package com.panda.web.entity.product;

import com.panda.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户，产品关联对象 openid_product
 *
 * @author cpanda
 * @date 2025-03-03
 */
@Data
//@JsonInclude(JsonInclude.Include.NON_NULL)
@TableName(value = "openid_product")
public class OpenidProduct {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long uid;//用户id
    private String openid;//用户唯一id
    private Long productId;//产品id
    private String productType;//购买的产品类型
    private String productName;//产品名称
    private BigDecimal productPrice;//产品金额
    private String creationTime;//购买时间
    private Date createTime;
    private String status;//状态
    private String day;//剩余天数
    private int count;//购买次数
    private Integer aiCount;//改套餐对应的AI可定制次数

}
